home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 000957_mcrae@lib.ucsf.edu _Sat Apr 24 01:17:49 1993.msg < prev    next >
Internet Message Format  |  1994-01-24  |  2KB

  1. Return-Path: <mcrae@lib.ucsf.edu>
  2. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  3.     id AA00222; Sat, 24 Apr 93 01:17:49 MET DST
  4. Received: from knowman.lib.ucsf.EDU by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
  5.     id AA28551; Sat, 24 Apr 1993 01:37:43 +0200
  6. Received: from theodoric.lib.ucsf.EDU by knowman.lib.ucsf.EDU (4.1/GSC4.21)
  7.     id AA21197; Fri, 23 Apr 93 16:37:47 PDT
  8. Message-Id: <9304232337.AA21197@knowman.lib.ucsf.EDU>
  9. To: www-talk@lib.ucsf.edu
  10. Subject: Re:  how should remote path names be handled?
  11. Date: Fri, 23 Apr 93 16:38:47 MDT
  12. From: Christopher McRae <mcrae@lib.ucsf.edu>
  13.  
  14.  
  15. Jay C. Weber writes:
  16. > How about variable name substitution in URLs?  E.g., you
  17. > could use a HREF=file://$parentsite$parentdir/foo.html to make
  18. > explicit how the broswer should construct relative pathnames.
  19. > The advantage of this over the current HREF=file:foo.html
  20. > scheme is it opens up many other kinds of context-sensitive
  21. > URLs, like substituting the parentsite but naming a new
  22. > directory path.  Or, browsers (the WWW library I guess) could
  23. > define new variables like $standardsite, which would depend
  24. > on the user's continent (per the recent suggestion about
  25. > distributing servers).
  26.  
  27.   If you are going to add variable substitution to URL's, then perhaps
  28. it would be best to define two types of variables: those which are
  29. to be interpreted by the client, and those which the server should
  30. expand.  
  31.   Thus, a user could configure their browser session so as to
  32. force a particular interpretation of any "variant" links
  33. encountered.  The $standardsite variable mentioned above is
  34. one example of a variable which should be interpreted locally,
  35. i.e. by the client.
  36.   Server-interpreted variables, on the other hand, could be used
  37. by information administrators to ease the task of maintaining
  38. document archives and to enhance reliability and efficiency.  The
  39. $parentsite and $parentdir variables mentioned in Jay's message
  40. are examples of these types of variables.  Another example would
  41. be a $least_busy_server_of_group_GROUP variable, as in
  42.     http://$least_busy_of_group_GROUP/foo.html.
  43. The server would replace this variable with the address of the least
  44. busy server in the group of servers named GROUP.
  45.   So, how are the two types distinguished?  Suppose that a server
  46. variable is preceeded by a single '$'. and client variables would be
  47. referenced by two $, o
  48.